<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
      content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<meta name="format-detection" content="telephone=no">
<title>订单打印</title>
</head>
<body>
    <div class="well" style="max-height:550px;overflow: auto;">
    <table class= "table table-bordered" id="tab" data-sortable>
        <thead>
        <tr>
            <th>#</th>
            <th>联系人</th>
            <th>电话</th>
            <th>人数</th>
            <th>出发地</th>
            <th>目的地</th>
            <th>价格</th>

            <th>支付状态</th>
            <th style="width: 60px;"></th>
             <th>下单时间</th>
                        <th>预约时间</th>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td width='60px;'>{:get_username($vo['openid'])}</td>
                <td width='100px;'>{$vo['dianhau']}/{:get_usertel($vo['openid'])}</td>
                <td width='50px;'>{$vo.num}</td>
                <td width='150px;'><a href='javascript:void(0)' onclick="kcshow('{$vo.start_x}',1)">{$vo.start}</a>
                </td>
                <td width='150px;'><a href='javascript:void(0)'
                                      onclick="kcshow('{$vo.end_x}',2)">{$vo.end}</a></td>
                <td>{$vo.price}</td>



                <td>
                    <if condition="$vo['pay_statu'] eq '0'"><font color="red">未支付</font>
                        <elseif condition="$vo['pay_statu'] eq '1'"/>
                        <font color="#7cff00"> <if condition="$vo.is_ypay eq 1">余额支付<else />微信支付</if></font>
                    </if>
                </td>
                <td>

                    <if condition="$vo['order_statu'] neq '2'"><a onclick="return confirm('请确认到达')"
                                                                  href="__CONTROLLER__/dd/id/{$vo.id}">已到达
                        <elseif condition="$vo['order_statu'] eq '2'"/>
                        已完成</if>
                    </a>

                </td>
                <td>{$vo['addtime']|date='Y-m-d H:i:s',###}</td>
                            <td>{$vo['starttime']}</td>
            </tr>

        </volist>

        </tbody>
    </table>
</div>
</body>
</html>